<?php
ini_set('display_errors',1);
error_reporting(E_ALL);

//define('APPLICATION_PATH', dirname(__FILE__));
define('APPLICATION_PATH', dirname(__DIR__));

$application = new Yaf\Application( APPLICATION_PATH . "/conf/application.ini");
//是否运行bootstrap ,当运行bootstrap 程序会找到application 目录下Bootstrap.php文件
$application->bootstrap()->run();
?>
